
var qq = require('../../../service/qq');





xdescribe('doAyncQ unit', function () {
  it('id eq 1 was success', function (done) {
    qq.doAyncQ(1)
    .then(function(data){
      expect(data).toBe('setTimeout was invoked'); 
      done();
    });
  });


  it('id eq -1 was failed', function (done) {
    qq.doAyncQ(-1)
    .then(null,function(data){
      expect(data).toBe(500);
      done();
    });
  });  
});

